<!doctype html>
<html lang="en">
  <head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1, shrink-to-fit=no">
    <meta name="description" content="">
    <meta name="author" content="">
    <title>confirm</title>
	
	<style>
		body {
		  padding-top: 3.5rem;
		}
	</style>
	
    <!-- Bootstrap core CSS -->
    <link href="./styles/bootstrap.min.css" rel="stylesheet">
  </head>

  <body>

    <nav class="navbar navbar-expand-md navbar-dark fixed-top bg-dark">
      <div class="collapse navbar-collapse" id="navbarsExampleDefault">
        <ul class="navbar-nav mr-auto">
          <ol class="breadcrumb">
		    <li class="breadcrumb-item"><a href="inputData.html">电子支付:参数设置</a></li>
			<li class="breadcrumb-item active" aria-current="page">确认页面</li>
	      </ol>
        </ul>
		<button class="btn btn-outline-success my-2 my-sm-0 mx-1 btn-lg" data-toggle="modal" data-target="#messages">查看报文</button>
      </div>
    </nav>

	<div class="modal fade" id="messages" tabindex="-1" role="dialog" aria-labelledby="modalCenterTitle" aria-hidden="true">
	  <div class="modal-dialog modal-dialog-centered modal-lg" role="document">
		<div class="modal-content">
		  <div class="modal-header">
			<h5 class="modal-title" id="modalCenterTitle">MESSAGES</h5>
			<button type="button" class="close" data-dismiss="modal" aria-label="Close">
			  <span aria-hidden="true">&times;</span>
			</button>
		  </div>
		  <div class="modal-body">
		    <ul class="nav nav-tabs" id="myTab" role="tablist">
				<li class="nav-item">
				  <a class="nav-link active" id="request-tab" data-toggle="tab" href="#request" role="tab" aria-controls="request" aria-selected="true">请求报文</a>
				</li>
				<li class="nav-item">
				  <a class="nav-link" id="answer-tab" data-toggle="tab" href="#answer" role="tab" aria-controls="answer" aria-selected="false">应答报文</a>
				</li>
			  </ul>
			  <div class="tab-content mt-1" id="myTabContent">
				<div class="container-fluid tab-pane fade show active" id="request" role="tabpanel" aria-labelledby="request-tab" style="text-align:center">
				  <textarea class="border border-info w-100" rows="15"></textarea>
				</div>
				
				<div class="container-fluid tab-pane fade" id="answer" role="tabpanel" aria-labelledby="answer-tab" style="text-align:center">
				  <textarea class="border border-info w-100" rows="15"></textarea>
				</div>
			  </div>
		  </div>
		  <div class="modal-footer">
			<button type="button" class="btn btn-outline-primary btn-lg" data-dismiss="modal">OK</button>
		  </div>
		</div>
	  </div>
	</div>
	
    <main role="main">

      <div class="jumbotron">
        <div class="container">
          <h3>案例：</h3>
		  <h3>预期结果：</h3>
		  <h3>案例状态：</h3>
        </div>
      </div>

      <div id="content" class="container" style="text-align:center">
        
      </div>
	  <hr>
    </main>

    <footer class="container">
      <p>&copy; Company 电子支付</p>
    </footer>

    <!-- Bootstrap core JavaScript
    ================================================== -->
    <!-- Placed at the end of the document so the pages load faster -->
    <script type="text/javascript" src="js/jquery-slim.min.js"></script>
    <script type="text/javascript" src="js/popper.min.js"></script>
    <script type="text/javascript" src="js/bootstrap.min.js"></script>
    <script type="text/javascript" src="js/jquery.min.js"></script>
    <script type="text/javascript" src="js/cookie_util.js"></script>
    <script type="text/javascript" src="js/json2.js"></script>
    <script type="text/javascript" src="js/layer/layer.js"></script>
    <script type="text/javascript">
    	$(function(){
    		$("#content").html(localStorage.getItem('content'));
    		$(".form-control").attr("disabled",true);
    	});
    	
    	
    </script>
  </body>
</html>
